Mediavine\Create\Creations D

Total Complexity 134
Dependencies 13
Dependents 5
Total lines 1,367
Lines of code 906
Logical lines of code 354
Comment lines 190
Methods 34
Properties 14

Methods 34

Method Rating Maintainability Complexity Lines of code
routes()
A
28
1 233
maybe_adjust_canonical_posts()
A
44 11 48
before_create()
A
48 11 29
associate_post_with_creation()
A
48 10 32
before_update()
A
51 9 29
restore_video_data()
A
48 8 33
handle_save_post()
S
52 7 24
unassociate_post_with_creations()
S
46 5 45
add_images_to_creation()
S
49 6 30
get_creation_ids_by_post()
S
51 6 24
update_creation_rating()
S
48 5 35
get_image_sizes()
S
38 1 89
add_creations_to_search()
S
51 5 27
reset_term_associations()
S
61 5 12
publish_creation()
S
54 4 21
additional_perform_time()
S
64 5 9
check_for_list_steps()
S
59 4 13
recipe_json_ld_prep_creation()
S
56 3 20
prep_publish_creation()
S
56 2 19
after_delete()
S
67 3 8
remove_empty_list_wysiwyg()
S
70 3 6
get_imported_images()
S
64 3 9
init()
S
50 1 27
render_view()
S
56 1 22
reset_term_association()
S
64 2 9
after_update()
S
72 2 6
list_json_ld_output()
S
71 2 6
get_creation_type()
S
63 2 10
get_instance()
S
70 2 7
should_set_object_terms()
S
72 1 5
custom_schema()
S
67 1 8
recipe_json_ld_filters()
S
74 1 4
diy_json_ld_filters()
S
74 1 4
adjust_canonical_posts()
S
80 1 3